﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Toolchains.InProcess.NoEmit;

namespace SearchText
{
    public class MyNoEmitConfig : ManualConfig
    {
        public MyNoEmitConfig()
        {
            AddJob(Job.MediumRun
                .WithLaunchCount(1)
                .WithToolchain(InProcessNoEmitToolchain.Instance) // 使用InProcessNoEmitToolchain
                .WithId("InProcessNoEmit"));
        }
    }
}
